package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.ChannelDto;
import com.heima.model.admin.pojos.AdChannel;
import com.heima.model.common.dtos.ResponseResult;

/**
 * @Author ZhangXiXi
 * @Description TODO
 * @date 2021/2/4 12:03
 * @Version 1.0
 */
public interface AdChannelService extends IService<AdChannel> {
    /**
     * @Description按照名称对频道列表进行模糊的分页查询
     * @Parameter:
     * @Return:
     **/

    ResponseResult findByNameAndPage(ChannelDto dto);

    ResponseResult insert(AdChannel adChannel);
   ResponseResult update(AdChannel adChannel);
    ResponseResult delete(Integer id);
}
